export const STATUSENUM = ['启用', '停用']
/* 机构状态 */

/* 角色数据权限 */
export const DATASCOPE = ['全部数据权限', '自定数据权限', '本部门数据权限', '本部门及以下数据权限'];

/* 性别 */
export const SEXTYPE = {
	'MAN': '男',
	'WOMAN ': '女',
	'UNKNOWN': '未知'
}
/* 操作类型 */
export const BUSINESSTYPE = {
	'OTHER': '其它',
	'ADD': '新增',
	'UPDATE': '更新',
	'REMOVE': '删除'
}
/* 告警等级 */
export const ALARMTYPE = {
	0: '一般告警',
	1: '较大告警',
	2: '重大告警'
}
/* 告警等级颜色 */
export const ALARMCOLORTYPE = {
	0: '#FFA200',
	1: '#A875F5',
	2: '#E33E00'
}

//科目类型颜色
export const subjectTypeColorEnum = [{
		value: '语文',
		text: 'rgba(217, 70, 239, 0.7)'
	},
	{
		value: '数学',
		text: 'rgba(74, 222, 128, 0.7)',
	},
	{
		value: '英语',
		text: 'rgba(139, 92, 246, 0.7)',
	},
	{
		value: '物理',
		text: 'rgba(59, 130, 246, 0.7)',
	},
	{
		value: '化学',
		text: 'rgb(250, 204, 21)',
	},
	{
		value: '政治',
		text: 'rgba(252, 134, 53, 0.7)',
	},
	{
		value: '生物',
		text: 'rgb(45, 212, 191)',
	},
	{
		value: '历史',
		text: 'rgb(100, 103, 242)',
	},
	{
		value: '地理',
		text: 'rgba(239, 68, 68, 0.7)',
	}
]
//账户类型
export const userTypeEnum = [{
		value: '00',
		text: '系统用户'
	},
	{
		value: '02',
		text: '机构管理员'
	},
	{
		value: '03',
		text: '学生'
	}, {
		value: '04',
		text: '教师'
	}, {
		value: '05',
		text: '家长'
	}, {
		value: '06',
		text: '运营'
	}
]
//班级类型
export const classTypeEnum = [{
	value: '00',
	text: '行政班'
}, {
	value: '01',
	text: '走读班'
}]
//试题类型
export const testPaperTypeEnum = [{
	value: 1,
	text: '小测'
}, {
	value: 2,
	text: '周考'
}, {
	value: 3,
	text: '月考'
}]
//题目类型
export const topicTypeListEnum = [{
		value: 0,
		text: '单选题',
		type: 's',
		videotype: 1, //554题目类型
	}, {
		value: 1,
		text: '多选题',
		type: 'm',
		videotype: 4,
	}, {
		value: 2,
		text: '判断题',
		type: 'j',
		videotype: 2,
	}, {
		value: 5,
		text: '数字题',
		type: 'f'
	}, {
		value: 98,
		text: '主观题',
		type: 'score'
	},
	{
		value: 8,
		text: 'AI问答',
		type: 'speech',
		videotype: 8,
	},
	{
		value: 9,
		text: '麦克风',
		type: 'microphone',
		videotype: 9,

	}
]
/* 学业等级 */
export const gradeLevelsEnum = [{
		id: 0,
		level: 'A等',
		scoreStart: 85,
		scoreEnd: 100
	},
	{
		id: 1,
		level: 'B等',
		scoreStart: 75,
		scoreEnd: 85
	},
	{
		id: 2,
		level: 'C等',
		scoreStart: 60,
		scoreEnd: 75
	},
	{
		id: 3,
		level: 'D等',
		scoreStart: 40,
		scoreEnd: 60
	},
	{
		id: 4,
		level: 'E等',
		scoreStart: 0,
		scoreEnd: 40
	}
]
/*教师角色*/
export const teacherRoleEnum = [{
		roleCode: 'school_master',
		roleName: '校长',
	},

	{
		roleCode: 'grade_master',
		roleName: '年级主任',
	},
	{
		roleCode: 'subject_leader',
		roleName: '学科组长',
	},
	{
		roleCode: 'tech_admin',
		roleName: '老师',
	},
	{
		roleCode: 'head_tech',
		roleName: '班主任',
	}
]

/* 试题类型 */
export const testTypeListEnum = [{
	value: 0,
	text: '随堂检测',
	perms: "quiz"
}, {
	value: 1,
	text: '课后作业',
	perms: "homework"
}]
/* 接收器类型 */
export const machTypeEnum = [{
	value: 0,
	text: '有线'
}, {
	value: 1,
	text: '无线'
}]

/* 设备统计类型 */
export const deviceCountTypeEnum = [
	/* {
	value: 'school',
	text: '学校',
	color:'#1677FF'
}, */
	{
		//value: 'actived',
		value: '0',
		text: '已激活',
		color: '#00BEC5'
	}, {
		//value: 'dued',
		value: '1',
		text: '即将到期',
		color: '#D60000'
	}, {
		//value: 'expired',
		value: '2',
		text: '已到期',
		color: '#ccc'
	}
]


export const menuList = [{
		img: '/impromptu/toolbar/icon04',
		img_pro: '/impromptu_pro/toolbar/icon04',
		name: '签到',
		type: 'signin',
		perms: 'doExercise:signin'
	},
	{
		img: '/impromptu/toolbar/icon13',
		img_pro: '/impromptu_pro/toolbar/icon13',
		name: '抢答',
		type: 'quickanswer',
		perms: 'doExercise:quickanswer'
	},
	{
		img: '/impromptu/toolbar/icon06',
		img_pro: '/impromptu_pro/toolbar/icon06',
		name: '随机抽答',
		type: 'drawstraws',
		perms: 'doExercise:drawstraws'
	}, {
		img: '/impromptu/toolbar/icon15',
		img_pro: '/impromptu_pro/toolbar/icon15',
		name: '分组教学',
		type: 'group',
		perms: 'doExercise:group'
	}, {
		img: '/impromptu/toolbar/icon05',
		img_pro: '/impromptu_pro/toolbar/icon05',
		name: '举手',
		type: 'hand',
		perms: 'doExercise:hand'
	}, {
		img: '/impromptu/toolbar/icon14',
		img_pro: '/impromptu_pro/toolbar/icon14',
		name: '表扬',
		type: 'praise',
		perms: 'doExercise:praise'
	},
	{
		img: '/impromptu/toolbar/icon12',
		img_pro: '/impromptu_pro/toolbar/icon12',
		name: '资源',
		type: 'resources',
		perms: 'doExercise:resources'

	},
	{
		img: '/impromptu/toolbar/icon11',
		img_pro: '/impromptu_pro/toolbar/icon11',
		name: '教学反馈',
		type: 'interaction',
		perms: 'doExercise:interaction'
	},
	// {
	// 	img: '/impromptu/toolbar/icon08',
	// 	img_pro: '/impromptu_pro/toolbar/icon08',
	// 	name: '投票',
	// 	type: 'vote',
	// 	perms: 'doExercise:vote'
	// },

	{
		img: '/impromptu/toolbar/icon01',
		img_pro: '/impromptu_pro/toolbar/icon01',
		name: '同学',
		type: 'studentlist',
		perms: 'doExercise:studentlist'
	},
	{
		img: '/impromptu/toolbar/icon02',
		img_pro: '/impromptu_pro/toolbar/icon02',
		name: '统计',
		type: 'tempAnswerCount',
		perms: 'impromptuQA:answerCount'
	},
	{
		img: '/impromptu/toolbar/icon17',
		img_pro: '/impromptu_pro/toolbar/icon17',
		name: '打地鼠',
		type: 'mole',
		perms: 'doExercise:mole'
	},
	{
		img: '/impromptu/toolbar/icon16',
		img_pro: '/impromptu_pro/toolbar/icon16',
		name: '抢红包',
		type: 'redpack',
		perms: 'doExercise:redpack'
	},
	// {
	// 	img: '/impromptu/toolbar/icon07',
	// 	img_pro: '/impromptu_pro/toolbar/icon07',
	// 	name: '更多',
	// 	type: 'moreFuc',

	// },
];
//答题类型
export const answerTypeEnum = {
	'all': 1,
	'team': 2,
	'quickanswer': 3,
	'drawstraws': 4,
	'selectStu': 5
}